#ifndef _RULES_H

#define _RULES_H
#define FILTER_TABLE	"filter"
#define INPUT_CHAIN	"INPUT"
#define OUTPUT_CHAIN	"OUTPUT"
#define LO_IFACE	"lo"
#define INPUT_MISC_CHAIN	"input_misc"
#define OUTPUT_MISC_CHAIN	"output_misc"
#define INPUT_USER_DEFINED_CHAIN	"input_user_defined"
#define OUTPUT_USER_DEFINED_CHAIN	"output_user_defined"

#define IF_NAMSIZ	16

void init_default_rules(void);
void clean_filter_table(void);
void add_user_defined_rules(int proto,
                            int lpf_value, int lpt_value,
                            int rpf_value, int rpt_value,
                            int action);
void delete_user_defined_rules(int proto,
                               int lpf_value, int lpt_value,
                               int rpf_value, int rpt_value,
                               int action);

#endif
